﻿
namespace SistemaLogistica.Business.Entities
{
    using System;
    using System.Collections.Generic;

    [Serializable]
    public partial class PlanCompra
    {
        public PlanCompra()
        {
        }

        private String descripcion;

        public String Descripcion
        {
            get { return this.descripcion; }
            set { this.descripcion = value; }
        }

        private Int32 idArea;

        public Int32 IdArea
        {
            get { return this.idArea; }
            set { this.idArea = value; }
        }

        private Int32 idPlanCompra;

        public Int32 IdPlanCompra
        {
            get { return this.idPlanCompra; }
            set { this.idPlanCompra = value; }
        }

        private String periodo;

        public String Periodo
        {
            get { return this.periodo; }
            set { this.periodo = value; }
        }

        private List<DetallePlanCompra> detalle;

        public List<DetallePlanCompra> Detalle
        {
            get
            {
                this.detalle = this.detalle ?? new List<DetallePlanCompra>();
                return this.detalle;
            }
            set { this.detalle = value; }
        }

        private Area area;

        public Area Area
        {
            get { return this.area; }
            set { this.area = value; }
        }
    }
}

